package HomeWork10;

public class Demo7 {
	    public static void main(String[] args) {
	        Thread incThread1 = new Thread(new Work7Increment(), "AddThread-1");
	        Thread incThread2 = new Thread(new Work7Increment(), "AddThread-2");
	        Thread decThread1 = new Thread(new Work7Del(), "DelThread-1");
	        Thread decThread2 = new Thread(new Work7Del(), "DelThread-2");
	        incThread1.start();
	        incThread2.start();
	        decThread1.start();
	        decThread2.start();
	    }
	}

